<?php View::render('admin/layouts/meta'); ?>
<link rel="stylesheet" type="text/css" href="<?php echo Router::getBaseUrl();?>/assets/js/webuploader.css" />
<body>
<?php if($info['userInfo']){?>
<div class="cl pd-20" style=" background-color:#f5fafe">
    <img class="avatar size-L l" src="<?php echo $info['userInfo']['avatar'];?>">
    <dl style="margin-left:80px;">
        <dt>
            <span class="f-18">用户信息：<?php echo $info['userInfo']['nickname'];?></span>
        </dt>
    </dl>
</div>
<?php }?>
<div class="cl pd-20" style=" background-color:#f5fafe">
	<table class="table">
		<tbody>
			<tr>
				<th class="text-r" width="80">动态ID：</th>
				<td><?php echo $info['dynamicId'];?></td>
                <th class="text-r" width="80">动态标题：</th>
				<td><?php echo $info['title'];?></td>
			</tr>
			<tr>
				<th class="text-r">动态内容：</th>
                <td colspan="3"><?php echo $info['content'];?></td>
			</tr>
            
            <?php if($info['bindType']== dynamicModel::BIND_TYPE_GOODS){
            foreach ($info['bindInfo'] as $goodsInfo){?>
            <tr>
				<th colspan="2">绑定商品</th>
                <th>图片</td>
                <th>金额</td>
			</tr>
            <tr>
				<td class="text-l" colspan="2"><?php echo $goodsInfo['name'];?></td>
                <td><img src="<?php echo $goodsInfo['image'];?>"  style="width:70px;height:40px;"/></td>
                <td><?php echo $goodsInfo['price'];?></td>
			</tr>
            <?php }}?>
		</tbody>
	</table>
</div> 
</body>
<?php View::render('admin/layouts/footer'); ?>
<script type="text/javascript" src="<?php echo Router::getBaseUrl();?>/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="<?php echo Router::getBaseUrl();?>/lib/jquery.validation/1.14.0/jquery.validate.js"></script> 
<script type="text/javascript" src="<?php echo Router::getBaseUrl();?>/lib/jquery.validation/1.14.0/validate-methods.js"></script> 
<script type="text/javascript" src="<?php echo Router::getBaseUrl();?>/lib/jquery.validation/1.14.0/messages_zh.js"></script>
<script type="text/javascript" src="<?php echo Router::getBaseUrl();?>/assets/js/webuploader.min.js"></script>
<script type="text/javascript" src="<?php echo Router::getBaseUrl();?>/lib/ueditor/1.4.3/ueditor.config.js"></script> 
<script type="text/javascript" src="<?php echo Router::getBaseUrl();?>/lib/ueditor/1.4.3/ueditor.all.min.js"> </script> 
<script type="text/javascript" src="<?php echo Router::getBaseUrl();?>/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript">
$(function(){
   
});
</script>
</html>